﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package org.aswing.event {
    import flash.events.*;
    import org.aswing.geom.*;

    public class ResizedEvent extends AWEvent {

        public static const RESIZED:String = "resized";

        private var oldSize:IntDimension;
        private var newSize:IntDimension;

        public function ResizedEvent(_arg1:IntDimension, _arg2:IntDimension){
            super(RESIZED, false, false);
            this.oldSize = _arg1.clone();
            this.newSize = _arg2.clone();
        }
        override public function clone():Event{
            return (new ResizedEvent(this.oldSize, this.newSize));
        }
        public function getOldSize():IntDimension{
            return (this.oldSize.clone());
        }
        public function getNewSize():IntDimension{
            return (this.newSize.clone());
        }

    }
}//package org.aswing.event 
